package com.gupaoedu.vip.proxy.jdkproxy;

/**
 * @Auther: tcm
 * @Date: 2020/1/25 18:25
 * @Description:
 */
public class JdkProxyTest {

    public static void main(String[] args) {

        GoodsDao goodsDao = (GoodsDao) new GoodsDaoProxy(new GoodsDaoImpl()).getInstance();
        goodsDao.getGoodsById(1);

    }

}
